﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Bill.aspx.cs" Inherits="WebBill.Bill" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
    <style type="text/css">
    	.profit { color:Red; }
    	.lost { color:Green; }
    </style>
    <style type="text/css">
		body{ font:13px arial,helvetica,clean,sans-serif;  background-color:#F5F3EB;}
		.main{ background-color:White;  padding:10px;  width:550px;  border:0;}
		h2,h3{font-size:13px; margin-bottom:2px;}
		h3{color:#3436D8;}
		table{width:100%; border-spacing:0; border-collapse:collapse; border:1px solid #DEE1F0;}
		table th, table td{font:13px arial,helvetica,clean,sans-serif; padding:5px 10px;}
		table th{text-align:center; border:1px solid white; background-color:#DEE1F0;}
		table td{border:1px solid #DEE1F0; text-align:right;}
		table tr .imgtitle{width:390px; border-bottom:0;}
		table tr .imgchart{text-align:left;}
		.blk{padding:5px 0px; margin-bottom:5px; border-bottom:2.4px #C9CAFF solid;}
    </style>
	<META http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
    <form id="form1" runat="server" >
    <div id="main" class="main">
		<asp:Label ID="txt_ps" runat="server"></asp:Label>
		<div class="blk">
			<h2>個人資料</h2>
			<asp:Label ID="Customer_Name" runat="server" Text="名字"></asp:Label>

			<h2>個人投資績效</h2>
			<table>
				<tr>
					<th>目前投資金額</th><th>持有單位</th><th>每單位成本</th>
				</tr>
				<tr>
					<td><asp:Label ID="Customer_Cost" runat="server" Text="目前投資金額"></asp:Label></td>
					<td><asp:Label ID="Customer_Unit" runat="server" Text="持有單位"></asp:Label></td>
					<td><asp:Label ID="Customer_AvgCost" runat="server" Text="每單位成本"></asp:Label></td>
				</tr>
				<tr>
					<th>資產總額</th><th>損益</th><th>報酬率</th>
				</tr>
				<tr>
					<td><asp:Label ID="Customer_Asset" runat="server" Text="資產總額"></asp:Label></td>
					<td><asp:Label ID="Customer_Profit" runat="server" Text="損益"></asp:Label></td>
					<td><asp:Image ID="Customer_ROIchart" runat="server" /><asp:Label ID="Customer_ROI" runat="server" Text="報酬率"></asp:Label></td>
				</tr>
				<asp:Panel ID="take_tr" runat="server">
					<tr>
						<th colspan="2">己贖回金額</th><th>歷史總報酬率</th>
					</tr>
					<tr>
						<td colspan="2"><asp:Label ID="Customer_take" runat="server" Text="己贖回金額"></asp:Label></td>
						<td><asp:Image ID="Customer_HISROIchart" runat="server" /><asp:Label ID="Customer_HISROI" runat="server" Text="歷史總報酬率"></asp:Label></td>
					</tr>
				</asp:Panel>
			</table>
			
			<h2>個人進出紀錄</h2>
			<asp:Table ID="Customer_TradeHis" runat="server">
				<asp:TableHeaderRow>
					<asp:TableHeaderCell Text="日期"></asp:TableHeaderCell>
					<asp:TableHeaderCell Text="投入/贖回金額"></asp:TableHeaderCell>
					<asp:TableHeaderCell Text="當時淨值"></asp:TableHeaderCell>
					<asp:TableHeaderCell Text="投入/贖回單位"></asp:TableHeaderCell>
				</asp:TableHeaderRow>
			</asp:Table>
		</div>

		<div class="blk">
			<h2>目前投資績效</h2>
			<table>
				<tr>
					<th>資產總額</th><th>目前淨值</th><th>報酬率</th>
				</tr>
				<tr>
					<td><asp:Label ID="Total_Asset" runat="server" Text="資產總額"></asp:Label></td>
					<td><asp:Label ID="NAV" runat="server" Text="目前淨值"></asp:Label></td>
					<td><asp:Image ID="Total_ROIchart" runat="server" /><asp:Label ID="Total_ROI" runat="server" Text="報酬率"></asp:Label></td>
				</tr>
			</table>
	        
	        
			<h2>歷史投資績效</h2>
			<table>
				<tr>
					<th class="imgtitle">最近一月報酬率</th>
					<td>
						<asp:Image ID="imggROI_1m" runat="server" />
						<asp:Label ID="ROI_1m" runat="server" Text="報酬率"></asp:Label></td>
				</tr>
				<tr>
					<td  class="imgchart" colspan="2">
						<asp:Image ID="imgROI_1m" runat="server" ImageUrl="" />
					</td>
				</tr>
				<tr>
					<th class="imgtitle">最近三月報酬率</th>
					<td>
						<asp:Image ID="imggROI_3m" runat="server" />
						<asp:Label ID="ROI_3m" runat="server" Text="報酬率"></asp:Label>
					</td>
				</tr>
				<tr>
					<td  class="imgchart" colspan="2">
						<asp:Image ID="imgROI_3m" runat="server" ImageUrl="" />
					</td>
				</tr>
				<tr>
					<th class="imgtitle">最近六月報酬率</th>
					<td>
						<asp:Image ID="imggROI_6m" runat="server" />
						<asp:Label ID="ROI_6m" runat="server" Text="報酬率"></asp:Label></td>
				</tr>
				<tr>
					<td  class="imgchart" colspan="2">
						<asp:Image ID="imgROI_6m" runat="server" ImageUrl="" />
					</td>
				</tr>
				<tr>
					<th class="imgtitle">最近一年報酬率</th>
					<td>
						<asp:Image ID="imggROI_1y" runat="server" />
						<asp:Label ID="ROI_1y" runat="server" Text="報酬率"></asp:Label></td>
				</tr>
				<tr>
					<td  class="imgchart" colspan="2">
						<asp:Image ID="imgROI_1y" runat="server" ImageUrl="" />
					</td>
				</tr>
			</table>
		</div>
		<span>更新日期<asp:Label ID="upddate" runat="server" Text="更新日期"></asp:Label></span>
    
    </div>
    
    </form>
</body>
</html>
